In [16]:
stri="ArifAhmed1995"
from bs4 import BeautifulSoup
import requests
r = requests.get('http://photon.bits-goa.ac.in/lms/login/index.php').text
soup = BeautifulSoup(r,'lxml')
print (type(soup))
<class 'bs4.BeautifulSoup'>
In [3]:
print(soup)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr" lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The BITS Goa Course Server</title>
<link href="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=favicon" rel="shortcut icon"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="moodle, The BITS Goa Course Server" name="keywords"/>
<meta content="no-cache" http-equiv="pragma"/>
<meta content="0" http-equiv="expires"/>
<link href="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?3.5.1/build/cssreset/reset-min.css&3.5.1/build/cssfonts/fonts-min.css&3.5.1/build/cssgrids/grids-min.css&3.5.1/build/cssbase/base-min.css" rel="stylesheet" type="text/css"/><script src="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?3.5.1/build/yui/yui-min.js" type="text/javascript"></script><script src="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?2.9.0/build/yahoo/yahoo-min.js&2.9.0/build/dom/dom-min.js" type="text/javascript"></script>
<link href="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?2.9.0/build/assets/skins/sam/skin.css" rel="stylesheet" type="text/css"/>
<script id="firstthemesheet" type="text/css">/** Required in order to fix style inclusion problems in IE with YUI **/</script><link href="http://photon.bits-goa.ac.in/lms/theme/styles.php?theme=bits_theme&rev=1504933301&type=all" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
//<![CDATA[
var M = {}; M.yui = {}; var moodleConfigFn = function(me) {var p = me.path, b = me.name.replace(/^moodle-/,'').split('-', 3), n = b.pop();if (/(skin|core)/.test(n)) {n = b.pop();me.type = 'css';};me.path = b.join('-')+'/'+n+'/'+n+'.'+me.type;}; var galleryConfigFn = function(me) {var p = me.path,v=M.yui.galleryversion,f;if(/-(skin|core)/.test(me.name)) {me.type = 'css';p = p.replace(/-(skin|core)/, '').replace(/\.js/, '.css').split('/'), f = p.pop().replace(/(\-(min|debug))/, '');if (/-skin/.test(me.name)) {p.splice(p.length,0,v,'assets','skins','sam', f);} else {p.splice(p.length,0,v,'assets', f);};} else {p = p.split('/'), f = p.pop();p.splice(p.length,0,v, f);};me.path = p.join('/');};
M.yui.loader = {"base":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/yui\/3.5.1\/build\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","insertBefore":"firstthemesheet","modules":{"yui2-event":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event\/event-min.js","async":false},"yui2-animation":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/animation\/animation-min.js","async":false},"yui2-swfstore":{"type":"js","requires":["yui2-element","yui2-cookie","yui2-swf"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swfstore\/swfstore-min.js","async":false},"yui2-datatable":{"requires":["yui2-element","yui2-datasource"],"type":"js","optional":["yui2-calendar","yui2-dragdrop","yui2-paginator"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datatable\/datatable-min.js","async":false},"yui2-swfdetect":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swfdetect\/swfdetect-min.js","async":false},"yui2-menu":{"requires":["yui2-containercore"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/menu\/menu-min.js","async":false},"yui2-treeview":{"requires":["yui2-event","yui2-dom"],"type":"js","optional":["yui2-json","yui2-animation","yui2-calendar"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/treeview\/treeview-min.js","async":false},"yui2-get":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/get\/get-min.js","async":false},"yui2-progressbar":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/progressbar\/progressbar-min.js","async":false},"yui2-uploader":{"type":"js","requires":["yui2-element"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/uploader\/uploader-min.js","async":false},"yui2-datasource":{"requires":["yui2-event"],"type":"js","optional":["yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datasource\/datasource-min.js","async":false},"yui2-profiler":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/profiler\/profiler-min.js","async":false},"yui2-connection":{"supersedes":["yui2-connectioncore"],"requires":["yui2-event"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/connection\/connection-min.js","async":false},"yui2-json":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/json\/json-min.js","async":false},"yui2-datemath":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datemath\/datemath-min.js","async":false},"yui2-calendar":{"supersedes":["yui2-datemath"],"requires":["yui2-event","yui2-dom"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/calendar\/calendar-min.js","async":false},"yui2-simpleeditor":{"requires":["yui2-element"],"type":"js","optional":["yui2-containercore","yui2-menu","yui2-button","yui2-animation","yui2-dragdrop"],"pkg":"editor","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/editor\/simpleeditor-min.js","async":false},"yui2-swf":{"supersedes":["yui2-swfdetect"],"requires":["yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swf\/swf-min.js","async":false},"yui2-event-simulate":{"type":"js","requires":["yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-simulate\/event-simulate-min.js","async":false},"yui2-yuiloader-dom-event":{"supersedes":["yui2-yahoo","yui2-dom","yui2-event","yui2-get","yui2-yuiloader","yui2-yahoo-dom-event"],"rollup":5,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuiloader-dom-event\/yuiloader-dom-event.js","async":false},"yui2-storage":{"requires":["yui2-yahoo","yui2-event","yui2-cookie"],"type":"js","optional":["yui2-swfstore"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/storage\/storage-min.js","async":false},"yui2-container":{"supersedes":["yui2-containercore"],"requires":["yui2-dom","yui2-event"],"type":"js","optional":["yui2-dragdrop","yui2-animation","yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/container\/container-min.js","async":false},"yui2-profilerviewer":{"requires":["yui2-profiler","yui2-yuiloader","yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/profilerviewer\/profilerviewer-min.js","async":false},"yui2-imagecropper":{"requires":["yui2-dragdrop","yui2-element","yui2-resize"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/imagecropper\/imagecropper-min.js","async":false},"yui2-paginator":{"requires":["yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/paginator\/paginator-min.js","async":false},"yui2-tabview":{"requires":["yui2-element"],"type":"js","optional":["yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/tabview\/tabview-min.js","async":false},"yui2-layout":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation","yui2-dragdrop","yui2-resize","yui2-selector"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/layout\/layout-min.js","async":false},"yui2-imageloader":{"type":"js","requires":["yui2-event","yui2-dom"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/imageloader\/imageloader-min.js","async":false},"yui2-containercore":{"requires":["yui2-dom","yui2-event"],"type":"js","pkg":"container","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/container\/container_core-min.js","async":false},"yui2-event-mouseenter":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-mouseenter\/event-mouseenter-min.js","async":false},"yui2-logger":{"requires":["yui2-event","yui2-dom"],"type":"js","optional":["yui2-dragdrop"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/logger\/logger-min.js","async":false},"yui2-cookie":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/cookie\/cookie-min.js","async":false},"yui2-stylesheet":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/stylesheet\/stylesheet-min.js","async":false},"yui2-connectioncore":{"requires":["yui2-event"],"type":"js","pkg":"connection","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/connection\/connection_core-min.js","async":false},"yui2-utilities":{"supersedes":["yui2-yahoo","yui2-event","yui2-dragdrop","yui2-animation","yui2-dom","yui2-connection","yui2-element","yui2-yahoo-dom-event","yui2-get","yui2-yuiloader","yui2-yuiloader-dom-event"],"rollup":8,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/utilities\/utilities.js","async":false},"yui2-dragdrop":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/dragdrop\/dragdrop-min.js","async":false},"yui2-colorpicker":{"requires":["yui2-slider","yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/colorpicker\/colorpicker-min.js","async":false},"yui2-event-delegate":{"requires":["yui2-event"],"type":"js","optional":["yui2-selector"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-delegate\/event-delegate-min.js","async":false},"yui2-yuiloader":{"type":"js","supersedes":["yui2-yahoo","yui2-get"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuiloader\/yuiloader-min.js","async":false},"yui2-button":{"requires":["yui2-element"],"type":"js","optional":["yui2-menu"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/button\/button-min.js","async":false},"yui2-resize":{"requires":["yui2-dragdrop","yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/resize\/resize-min.js","async":false},"yui2-element":{"requires":["yui2-dom","yui2-event"],"type":"js","optional":["yui2-event-mouseenter","yui2-event-delegate"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/element\/element-min.js","async":false},"yui2-history":{"type":"js","requires":["yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/history\/history-min.js","async":false},"yui2-yahoo":{"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yahoo\/yahoo-min.js","async":false},"yui2-element-delegate":{"type":"js","requires":["yui2-element"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/element-delegate\/element-delegate-min.js","async":false},"yui2-charts":{"type":"js","requires":["yui2-element","yui2-json","yui2-datasource","yui2-swf"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/charts\/charts-min.js","async":false},"yui2-slider":{"requires":["yui2-dragdrop"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/slider\/slider-min.js","async":false},"yui2-selector":{"type":"js","requires":["yui2-yahoo","yui2-dom"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/selector\/selector-min.js","async":false},"yui2-yuitest":{"requires":["yui2-logger"],"type":"js","optional":["yui2-event-simulate"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuitest\/yuitest-min.js","async":false},"yui2-carousel":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/carousel\/carousel-min.js","async":false},"yui2-autocomplete":{"requires":["yui2-dom","yui2-event","yui2-datasource"],"type":"js","optional":["yui2-connection","yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/autocomplete\/autocomplete-min.js","async":false},"yui2-yahoo-dom-event":{"supersedes":["yui2-yahoo","yui2-event","yui2-dom"],"rollup":3,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yahoo-dom-event\/yahoo-dom-event.js","async":false},"yui2-dom":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/dom\/dom-min.js","async":false},"yui2-editor":{"supersedes":["yui2-simpleeditor"],"requires":["yui2-menu","yui2-element","yui2-button"],"type":"js","optional":["yui2-animation","yui2-dragdrop"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/editor\/editor-min.js","async":false},"core_filepicker":{"name":"core_filepicker","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Frepository%2Ffilepicker.js","requires":["base","node","node-event-simulate","json","async-queue","io-base","io-upload-iframe","io-form","yui2-treeview","panel","cookie","datatable","datatable-sort","resize-plugin","dd-plugin","moodle-core_filepicker"]},"core_dock":{"name":"core_dock","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Fblocks%2Fdock.js","requires":["base","node","event-custom","event-mouseenter","event-resize"]},"block_simple_clock":{"name":"block_simple_clock","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Fblocks%2Fsimple_clock%2Fmodule.js","requires":[]}},"groups":{"moodle":{"name":"moodle","base":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?moodle\/1504933301\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","ext":false,"root":"moodle\/1504933301\/","patterns":{"moodle-":{"group":"moodle","configFn":moodleConfigFn},"root":"moodle"}},"local":{"name":"gallery","base":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/yui\/gallery\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","ext":false,"root":"gallery\/","patterns":{"gallery-":{"group":"gallery","configFn":galleryConfigFn},"root":"gallery"}}}};
M.cfg = {"wwwroot":"http:\/\/photon.bits-goa.ac.in\/lms","sesskey":"0iRzlhBIlj","loadingicon":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Floading_small","themerev":"1504933301","slasharguments":0,"theme":"bits_theme","jsrev":"1504933301"};
//]]>
</script>
<script src="http://photon.bits-goa.ac.in/lms/lib/javascript.php?rev=1504933301&jsfile=%2Flib%2Fjavascript-static.js" type="text/javascript"></script>
<script src="http://photon.bits-goa.ac.in/lms/theme/javascript.php?theme=bits_theme&rev=1504933301&type=head" type="text/javascript"></script>
</head>
<body class="course path-site dir-ltr lang-en yui-skin-sam yui3-skin-sam photon-bits-goa-ac-in--lms pagelayout-frontpage course-1 context-2 notloggedin " id="page-site-index">
<div class="skiplinks"><a class="skip" href="#maincontent">Skip to main content</a></div>
<script type="text/javascript">
//<![CDATA[
document.body.className += ' jsenabled';
//]]>
</script>
<div id="wrapper">
<div class="headermenu">
<div class="logininfo">You are not logged in. (<a href="http://photon.bits-goa.ac.in/lms/login/index.php">Login</a>)</div></div>
<!-- header -->
<div id="page-header">
<div id="headerlogo"><a href="http://photon.bits-goa.ac.in/lms"><img alt="Bits Pilani" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=logo"/></a></div>
</div>
<!-- /header -->
<div class="h-bottom-bar"> </div>
<!-- custom menu -->
<!-- /custom menu -->
<!-- navigation bar -->
<div class="navbar clearfix">
<div class="breadcrumb"><span class="accesshide">Page path</span><ul><li><a href="http://photon.bits-goa.ac.in/lms/" title="Home">Home</a></li></ul></div>
<div class="navbutton"></div>
</div>
<!-- /navigation bar -->
<!-- page content -->
<div class="content-wrapper">
<div id="page-content">
<div id="region-main-box">
<div id="region-post-box">
<div id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<span id="maincontent"></span><a class="skip-block" href="#skipsitenews">Skip site news</a><h2 class="headingblock header">Site news</h2><div class="forumnodiscuss">(No news has been posted yet)</div>
<span class="skip-block-to" id="skipsitenews"></span><br/> </div>
</div>
</div>
<div class="block-region" id="region-pre">
<div class="region-content">
<a class="skip-block" href="#sb-1">Skip Main menu</a><div class="block_site_main_menu block list_block" id="inst1"><div class="header"><div class="title"><div class="block_action"></div><h2>Main menu</h2></div></div><div class="content"><ul class="unlist"><li class="r0"><div class="column c1"><a href="http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13" title="Forums"><img alt="" class="icon" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=forum&rev=1504933301&image=icon"/> Site news</a></div></li></ul></div></div><span class="skip-block-to" id="sb-1"></span><a class="skip-block" href="#sb-2">Skip Navigation</a><div class="block_navigation block" id="inst4"><div class="header"><div class="title"><div class="block_action"></div><h2>Navigation</h2></div></div><div class="content"><ul class="block_tree list"><li class="type_unknown depth_1 contains_branch current_branch"><p class="tree_item branch active_tree_node navigation_node"><a href="http://photon.bits-goa.ac.in/lms/" title="Home">Home</a></p><ul><li class="type_activity depth_2 item_with_icon"><p class="tree_item leaf hasicon"><a href="http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13" title="Forum"><img alt="Forum" class="smallicon navicon" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=forum&rev=1504933301&image=icon" title="Forum"/>Site news</a></p></li>
<li class="type_system depth_2 collapsed contains_branch"><p class="tree_item branch canexpand"><a href="http://photon.bits-goa.ac.in/lms/course/index.php" title="Courses">Courses</a></p><ul><li class="type_category depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_1"><span tabindex="0" title="Site">Site</span></p></li>
<li class="type_category depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_2"><span tabindex="0" title="2017-18">2017-18</span></p></li></ul></li></ul></li></ul></div></div><span class="skip-block-to" id="sb-2"></span> </div>
</div>
<div class="block-region" id="region-post">
<div class="region-content">
<div class="block_course_summary block" id="inst2"><div class="content"><div class="block_action notitle"></div><div class="no-overflow"><div class="text_to_html"><p><span size="3" style="font-family: verdana,arial,helvetica,sans-serif; font-size: small;">Welcome to <span style="color: #990000; font-weight: bold;">BITS GOA</span>, the Learning Management System at BITS Pilani K K Birla Goa Campus. </span></p></div></div></div></div><a class="skip-block" href="#sb-5">Skip Clock</a><div class="block_simple_clock block" id="inst10"><div class="header"><div class="title"><div class="block_action"></div><h2>Clock</h2></div></div><div class="content"><table class="clockTable">
<tbody><tr class="r0 lastrow">
<td class="cell c0" style=""><img alt="Server" class="smallicon" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=favicon" title="Server"/></td>
<td class="cell c1" style="">Server:</td>
<td class="cell c2 lastcol" style=""><input class="clock" id="block_progress_serverTime" value="Loading..."/></td>
</tr>
</tbody>
</table>
<noscript>To allow the clocks to update, enable JavaScript in your browser.</noscript></div></div><span class="skip-block-to" id="sb-5"></span><a class="skip-block" href="#sb-6">Skip Calendar</a><div class="block_calendar_month block" id="inst3"><div class="header"><div class="title"><div class="block_action"></div><h2>Calendar</h2></div></div><div class="content"><div class="calendar-controls"><a class="arrow_link previous" href="index.php?cal_m=10&cal_y=2017" title="Previous month"><span class="arrow ">◄</span><span class="accesshide "> <span class="arrow_text">Previous month</span></span></a><span class="hide"> | </span><span class="current"><a href="http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month&cal_d=1&cal_m=11&cal_y=2017&course=1" title="This month">November 2017</a></span><span class="hide"> | </span><a class="arrow_link next" href="index.php?cal_m=12&cal_y=2017" title="Next month"><span class="accesshide "><span class="arrow_text">Next month</span> </span><span class="arrow ">►</span></a><span class="clearer"><!-- --></span>
</div><table class="minicalendar calendartable" summary="November 2017 Calendar"><tr class="weekdays"><th scope="col"><abbr title="Sunday">Sun</abbr></th>
<th scope="col"><abbr title="Monday">Mon</abbr></th>
<th scope="col"><abbr title="Tuesday">Tue</abbr></th>
<th scope="col"><abbr title="Wednesday">Wed</abbr></th>
<th scope="col"><abbr title="Thursday">Thu</abbr></th>
<th scope="col"><abbr title="Friday">Fri</abbr></th>
<th scope="col"><abbr title="Saturday">Sat</abbr></th>
</tr><tr><td class="dayblank"> </td>
<td class="dayblank"> </td>
<td class="dayblank"> </td>
<td class="day">1</td>
<td class="day">2</td>
<td class="day">3</td>
<td class="weekend day today eventnone"><span class="accesshide ">Today Saturday, 4 November </span><a href="#" id="calendar_tooltip_1">4</a></td>
</tr><tr><td class="weekend day">5</td>
<td class="day">6</td>
<td class="day">7</td>
<td class="day">8</td>
<td class="day">9</td>
<td class="day">10</td>
<td class="weekend day">11</td>
</tr><tr><td class="weekend day">12</td>
<td class="day">13</td>
<td class="day">14</td>
<td class="day">15</td>
<td class="day">16</td>
<td class="day">17</td>
<td class="weekend day">18</td>
</tr><tr><td class="weekend day">19</td>
<td class="day">20</td>
<td class="day">21</td>
<td class="day">22</td>
<td class="day">23</td>
<td class="day">24</td>
<td class="weekend day">25</td>
</tr><tr><td class="weekend day">26</td>
<td class="day">27</td>
<td class="day">28</td>
<td class="day">29</td>
<td class="day">30</td>
<td class="dayblank"> </td><td class="dayblank"> </td></tr></table></div></div><span class="skip-block-to" id="sb-6"></span><div class="block_html block" id="inst2357"><div class="content"><div class="block_action notitle"></div><div class="no-overflow"><h2 class="main"><span style="color: #ffffff; font-family: Trebuchet MS,Verdana,Arial,Helvetica,sans-serif; font-size: small; background-color: #34637f;"><a href="http://photon.bits-goa.ac.in/lms/course/request.php"><span style="color: #ffffff; background-color: #34637f;">Request a Course </span></a></span></h2>
<p>If you are the IC of two or more named courses that are taught as one course, please request for a merged course by clicking on the above link and providing the necessary information.</p></div></div></div> </div>
</div>
</div></div></div><!-- /region-post-box --><!-- /region-main-box --><!-- /page content -->
<!-- /wrapper -->
<!-- footer -->
<div class="footer-container" id="page-footer">
<div class="f-login-info">
<div class="logininfo">You are not logged in. (<a href="http://photon.bits-goa.ac.in/lms/login/index.php">Login</a>)</div> </div>
</div>
<!--/footer-->
<div class="clearfix"></div>
</div><!--content wrapper-->
<div class="clearfix"></div>
</div>
<script src="http://photon.bits-goa.ac.in/lms/theme/javascript.php?theme=bits_theme&rev=1504933301&type=footer" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
M.str = {"moodle":{"lastmodified":"Last modified","name":"Name","error":"Error","info":"Information","viewallcourses":"View all courses","cancel":"Cancel","yes":"Yes"},"repository":{"type":"Type","size":"Size","invalidjson":"Invalid JSON string","nofilesattached":"No files attached","filepicker":"File picker","logout":"Logout","nofilesavailable":"No files available","norepositoriesavailable":"Sorry, none of your current repositories can return files in the required format.","fileexistsdialogheader":"File exists","fileexistsdialog_editor":"A file with that name has already been attached to the text you are editing.","fileexistsdialog_filemanager":"A file with that name has already been attached","renameto":"Rename to \"{$a}\"","referencesexist":"There are {$a} alias\/shortcut files that use this file as their source"},"block":{"addtodock":"Move this to the dock","undockitem":"Undock this item","undockall":"Undock all"},"langconfig":{"thisdirectionvertical":"btt"},"block_simple_clock":{"clock_separator":":","before_noon":"am","after_noon":"pm","day_names":"Sun,Mon,Tue,Wed,Thu,Fri,Sat"},"admin":{"confirmation":"Confirmation"}};
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var navtreeexpansions4 = [{"id":"expandable_branch_1","key":"1","type":10},{"id":"expandable_branch_2","key":"72","type":10}];
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
YUI(M.yui.loader).use('node', function(Y) {
M.util.load_flowplayer();
setTimeout("fix_column_widths()", 20);
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "1"); });
M.yui.galleryversion="2010.04.08-12-35";Y.use("core_dock","moodle-block_navigation-navigation",function() {M.block_navigation.init_add_tree({"id":"4","instance":"4","candock":true,"courselimit":"20","expansionlimit":0});
});
M.yui.galleryversion="2010.04.08-12-35";Y.use("core_dock","moodle-block_navigation-navigation",function() {M.block_navigation.init_add_tree({"id":"5","instance":"5","candock":true});
});
Y.use('block_simple_clock', function(Y) { M.block_simple_clock.initSimpleClock(Y, true, false, true, true, false, 2017, 10, 4, 18, 30, 30); });
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "10"); });
M.yui.galleryversion="2010.04.08-12-35";Y.use("moodle-calendar-eventmanager",function() {M.core_calendar.add_event({"eventId":"calendar_tooltip_1","title":"Today Saturday, 4 November","content":"No events"});
});
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "3"); });
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "2487"); });
M.util.init_block_hider(Y, {"id":"inst1","title":"Main menu","preference":"block1hidden","tooltipVisible":"Hide Main menu block","tooltipHidden":"Show Main menu block"});
M.util.init_block_hider(Y, {"id":"inst4","title":"Navigation","preference":"block4hidden","tooltipVisible":"Hide Navigation block","tooltipHidden":"Show Navigation block"});
M.util.init_block_hider(Y, {"id":"inst10","title":"Clock","preference":"block10hidden","tooltipVisible":"Hide Clock block","tooltipHidden":"Show Clock block"});
M.util.init_block_hider(Y, {"id":"inst3","title":"Calendar","preference":"block3hidden","tooltipVisible":"Hide Calendar block","tooltipHidden":"Show Calendar block"});
});
//]]>
</script>
</body>
</html>
In [4]:
print(soup.prettify()[0:500])
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr" lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
The BITS Goa Course Server
</title>
<link href="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=favicon" rel="shortcut icon"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="moodl
In [5]:
print(soup.title) #Prints the title from the corresponding HTML file.
print(soup.title.string) #Prints the string within the title.
print(soup.p) #Prints the first p tag.
print(soup.p['class']) #Prints the class associated with the first tree tag.
print(soup.a) #Prints the first link from the HTML file.
<title>The BITS Goa Course Server</title>
The BITS Goa Course Server
<p class="tree_item branch active_tree_node navigation_node"><a href="http://photon.bits-goa.ac.in/lms/" title="Home">Home</a></p>
['tree_item', 'branch', 'active_tree_node', 'navigation_node']
<a class="skip" href="#maincontent">Skip to main content</a>
In [6]:
print(soup.get_text())
The BITS Goa Course Server
/** Required in order to fix style inclusion problems in IE with YUI **/
//<![CDATA[
var M = {}; M.yui = {}; var moodleConfigFn = function(me) {var p = me.path, b = me.name.replace(/^moodle-/,'').split('-', 3), n = b.pop();if (/(skin|core)/.test(n)) {n = b.pop();me.type = 'css';};me.path = b.join('-')+'/'+n+'/'+n+'.'+me.type;}; var galleryConfigFn = function(me) {var p = me.path,v=M.yui.galleryversion,f;if(/-(skin|core)/.test(me.name)) {me.type = 'css';p = p.replace(/-(skin|core)/, '').replace(/\.js/, '.css').split('/'), f = p.pop().replace(/(\-(min|debug))/, '');if (/-skin/.test(me.name)) {p.splice(p.length,0,v,'assets','skins','sam', f);} else {p.splice(p.length,0,v,'assets', f);};} else {p = p.split('/'), f = p.pop();p.splice(p.length,0,v, f);};me.path = p.join('/');};
M.yui.loader = {"base":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/yui\/3.5.1\/build\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","insertBefore":"firstthemesheet","modules":{"yui2-event":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event\/event-min.js","async":false},"yui2-animation":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/animation\/animation-min.js","async":false},"yui2-swfstore":{"type":"js","requires":["yui2-element","yui2-cookie","yui2-swf"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swfstore\/swfstore-min.js","async":false},"yui2-datatable":{"requires":["yui2-element","yui2-datasource"],"type":"js","optional":["yui2-calendar","yui2-dragdrop","yui2-paginator"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datatable\/datatable-min.js","async":false},"yui2-swfdetect":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swfdetect\/swfdetect-min.js","async":false},"yui2-menu":{"requires":["yui2-containercore"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/menu\/menu-min.js","async":false},"yui2-treeview":{"requires":["yui2-event","yui2-dom"],"type":"js","optional":["yui2-json","yui2-animation","yui2-calendar"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/treeview\/treeview-min.js","async":false},"yui2-get":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/get\/get-min.js","async":false},"yui2-progressbar":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/progressbar\/progressbar-min.js","async":false},"yui2-uploader":{"type":"js","requires":["yui2-element"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/uploader\/uploader-min.js","async":false},"yui2-datasource":{"requires":["yui2-event"],"type":"js","optional":["yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datasource\/datasource-min.js","async":false},"yui2-profiler":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/profiler\/profiler-min.js","async":false},"yui2-connection":{"supersedes":["yui2-connectioncore"],"requires":["yui2-event"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/connection\/connection-min.js","async":false},"yui2-json":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/json\/json-min.js","async":false},"yui2-datemath":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datemath\/datemath-min.js","async":false},"yui2-calendar":{"supersedes":["yui2-datemath"],"requires":["yui2-event","yui2-dom"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/calendar\/calendar-min.js","async":false},"yui2-simpleeditor":{"requires":["yui2-element"],"type":"js","optional":["yui2-containercore","yui2-menu","yui2-button","yui2-animation","yui2-dragdrop"],"pkg":"editor","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/editor\/simpleeditor-min.js","async":false},"yui2-swf":{"supersedes":["yui2-swfdetect"],"requires":["yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swf\/swf-min.js","async":false},"yui2-event-simulate":{"type":"js","requires":["yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-simulate\/event-simulate-min.js","async":false},"yui2-yuiloader-dom-event":{"supersedes":["yui2-yahoo","yui2-dom","yui2-event","yui2-get","yui2-yuiloader","yui2-yahoo-dom-event"],"rollup":5,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuiloader-dom-event\/yuiloader-dom-event.js","async":false},"yui2-storage":{"requires":["yui2-yahoo","yui2-event","yui2-cookie"],"type":"js","optional":["yui2-swfstore"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/storage\/storage-min.js","async":false},"yui2-container":{"supersedes":["yui2-containercore"],"requires":["yui2-dom","yui2-event"],"type":"js","optional":["yui2-dragdrop","yui2-animation","yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/container\/container-min.js","async":false},"yui2-profilerviewer":{"requires":["yui2-profiler","yui2-yuiloader","yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/profilerviewer\/profilerviewer-min.js","async":false},"yui2-imagecropper":{"requires":["yui2-dragdrop","yui2-element","yui2-resize"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/imagecropper\/imagecropper-min.js","async":false},"yui2-paginator":{"requires":["yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/paginator\/paginator-min.js","async":false},"yui2-tabview":{"requires":["yui2-element"],"type":"js","optional":["yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/tabview\/tabview-min.js","async":false},"yui2-layout":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation","yui2-dragdrop","yui2-resize","yui2-selector"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/layout\/layout-min.js","async":false},"yui2-imageloader":{"type":"js","requires":["yui2-event","yui2-dom"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/imageloader\/imageloader-min.js","async":false},"yui2-containercore":{"requires":["yui2-dom","yui2-event"],"type":"js","pkg":"container","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/container\/container_core-min.js","async":false},"yui2-event-mouseenter":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-mouseenter\/event-mouseenter-min.js","async":false},"yui2-logger":{"requires":["yui2-event","yui2-dom"],"type":"js","optional":["yui2-dragdrop"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/logger\/logger-min.js","async":false},"yui2-cookie":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/cookie\/cookie-min.js","async":false},"yui2-stylesheet":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/stylesheet\/stylesheet-min.js","async":false},"yui2-connectioncore":{"requires":["yui2-event"],"type":"js","pkg":"connection","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/connection\/connection_core-min.js","async":false},"yui2-utilities":{"supersedes":["yui2-yahoo","yui2-event","yui2-dragdrop","yui2-animation","yui2-dom","yui2-connection","yui2-element","yui2-yahoo-dom-event","yui2-get","yui2-yuiloader","yui2-yuiloader-dom-event"],"rollup":8,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/utilities\/utilities.js","async":false},"yui2-dragdrop":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/dragdrop\/dragdrop-min.js","async":false},"yui2-colorpicker":{"requires":["yui2-slider","yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/colorpicker\/colorpicker-min.js","async":false},"yui2-event-delegate":{"requires":["yui2-event"],"type":"js","optional":["yui2-selector"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-delegate\/event-delegate-min.js","async":false},"yui2-yuiloader":{"type":"js","supersedes":["yui2-yahoo","yui2-get"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuiloader\/yuiloader-min.js","async":false},"yui2-button":{"requires":["yui2-element"],"type":"js","optional":["yui2-menu"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/button\/button-min.js","async":false},"yui2-resize":{"requires":["yui2-dragdrop","yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/resize\/resize-min.js","async":false},"yui2-element":{"requires":["yui2-dom","yui2-event"],"type":"js","optional":["yui2-event-mouseenter","yui2-event-delegate"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/element\/element-min.js","async":false},"yui2-history":{"type":"js","requires":["yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/history\/history-min.js","async":false},"yui2-yahoo":{"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yahoo\/yahoo-min.js","async":false},"yui2-element-delegate":{"type":"js","requires":["yui2-element"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/element-delegate\/element-delegate-min.js","async":false},"yui2-charts":{"type":"js","requires":["yui2-element","yui2-json","yui2-datasource","yui2-swf"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/charts\/charts-min.js","async":false},"yui2-slider":{"requires":["yui2-dragdrop"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/slider\/slider-min.js","async":false},"yui2-selector":{"type":"js","requires":["yui2-yahoo","yui2-dom"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/selector\/selector-min.js","async":false},"yui2-yuitest":{"requires":["yui2-logger"],"type":"js","optional":["yui2-event-simulate"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuitest\/yuitest-min.js","async":false},"yui2-carousel":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/carousel\/carousel-min.js","async":false},"yui2-autocomplete":{"requires":["yui2-dom","yui2-event","yui2-datasource"],"type":"js","optional":["yui2-connection","yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/autocomplete\/autocomplete-min.js","async":false},"yui2-yahoo-dom-event":{"supersedes":["yui2-yahoo","yui2-event","yui2-dom"],"rollup":3,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yahoo-dom-event\/yahoo-dom-event.js","async":false},"yui2-dom":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/dom\/dom-min.js","async":false},"yui2-editor":{"supersedes":["yui2-simpleeditor"],"requires":["yui2-menu","yui2-element","yui2-button"],"type":"js","optional":["yui2-animation","yui2-dragdrop"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/editor\/editor-min.js","async":false},"core_filepicker":{"name":"core_filepicker","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Frepository%2Ffilepicker.js","requires":["base","node","node-event-simulate","json","async-queue","io-base","io-upload-iframe","io-form","yui2-treeview","panel","cookie","datatable","datatable-sort","resize-plugin","dd-plugin","moodle-core_filepicker"]},"core_dock":{"name":"core_dock","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Fblocks%2Fdock.js","requires":["base","node","event-custom","event-mouseenter","event-resize"]},"block_simple_clock":{"name":"block_simple_clock","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Fblocks%2Fsimple_clock%2Fmodule.js","requires":[]}},"groups":{"moodle":{"name":"moodle","base":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?moodle\/1504933301\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","ext":false,"root":"moodle\/1504933301\/","patterns":{"moodle-":{"group":"moodle","configFn":moodleConfigFn},"root":"moodle"}},"local":{"name":"gallery","base":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/yui\/gallery\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","ext":false,"root":"gallery\/","patterns":{"gallery-":{"group":"gallery","configFn":galleryConfigFn},"root":"gallery"}}}};
M.cfg = {"wwwroot":"http:\/\/photon.bits-goa.ac.in\/lms","sesskey":"0iRzlhBIlj","loadingicon":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Floading_small","themerev":"1504933301","slasharguments":0,"theme":"bits_theme","jsrev":"1504933301"};
//]]>
Skip to main content
//<![CDATA[
document.body.className += ' jsenabled';
//]]>
You are not logged in. (Login)
Page pathHome
Skip site newsSite news(No news has been posted yet)
Skip Main menuMain menu Site newsSkip NavigationNavigationHomeSite news
CoursesSite
2017-18
Welcome to BITS GOA, the Learning Management System at BITS Pilani K K Birla Goa Campus. Skip ClockClock
Server:
To allow the clocks to update, enable JavaScript in your browser.Skip CalendarCalendar◄ Previous month | November 2017 | Next month ►
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
Today Saturday, 4 November 4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Request a Course
If you are the IC of two or more named courses that are taught as one course, please request for a merged course by clicking on the above link and providing the necessary information.
You are not logged in. (Login)
//<![CDATA[
M.str = {"moodle":{"lastmodified":"Last modified","name":"Name","error":"Error","info":"Information","viewallcourses":"View all courses","cancel":"Cancel","yes":"Yes"},"repository":{"type":"Type","size":"Size","invalidjson":"Invalid JSON string","nofilesattached":"No files attached","filepicker":"File picker","logout":"Logout","nofilesavailable":"No files available","norepositoriesavailable":"Sorry, none of your current repositories can return files in the required format.","fileexistsdialogheader":"File exists","fileexistsdialog_editor":"A file with that name has already been attached to the text you are editing.","fileexistsdialog_filemanager":"A file with that name has already been attached","renameto":"Rename to \"{$a}\"","referencesexist":"There are {$a} alias\/shortcut files that use this file as their source"},"block":{"addtodock":"Move this to the dock","undockitem":"Undock this item","undockall":"Undock all"},"langconfig":{"thisdirectionvertical":"btt"},"block_simple_clock":{"clock_separator":":","before_noon":"am","after_noon":"pm","day_names":"Sun,Mon,Tue,Wed,Thu,Fri,Sat"},"admin":{"confirmation":"Confirmation"}};
//]]>
//<![CDATA[
var navtreeexpansions4 = [{"id":"expandable_branch_1","key":"1","type":10},{"id":"expandable_branch_2","key":"72","type":10}];
//]]>
//<![CDATA[
YUI(M.yui.loader).use('node', function(Y) {
M.util.load_flowplayer();
setTimeout("fix_column_widths()", 20);
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "1"); });
M.yui.galleryversion="2010.04.08-12-35";Y.use("core_dock","moodle-block_navigation-navigation",function() {M.block_navigation.init_add_tree({"id":"4","instance":"4","candock":true,"courselimit":"20","expansionlimit":0});
});
M.yui.galleryversion="2010.04.08-12-35";Y.use("core_dock","moodle-block_navigation-navigation",function() {M.block_navigation.init_add_tree({"id":"5","instance":"5","candock":true});
});
Y.use('block_simple_clock', function(Y) { M.block_simple_clock.initSimpleClock(Y, true, false, true, true, false, 2017, 10, 4, 18, 30, 30); });
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "10"); });
M.yui.galleryversion="2010.04.08-12-35";Y.use("moodle-calendar-eventmanager",function() {M.core_calendar.add_event({"eventId":"calendar_tooltip_1","title":"Today Saturday, 4 November","content":"No events"});
});
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "3"); });
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "2487"); });
M.util.init_block_hider(Y, {"id":"inst1","title":"Main menu","preference":"block1hidden","tooltipVisible":"Hide Main menu block","tooltipHidden":"Show Main menu block"});
M.util.init_block_hider(Y, {"id":"inst4","title":"Navigation","preference":"block4hidden","tooltipVisible":"Hide Navigation block","tooltipHidden":"Show Navigation block"});
M.util.init_block_hider(Y, {"id":"inst10","title":"Clock","preference":"block10hidden","tooltipVisible":"Hide Clock block","tooltipHidden":"Show Clock block"});
M.util.init_block_hider(Y, {"id":"inst3","title":"Calendar","preference":"block3hidden","tooltipVisible":"Hide Calendar block","tooltipHidden":"Show Calendar block"});
});
//]]>
In [7]:
links = soup.find_all("a")
In [8]:
print(links)
[<a class="skip" href="#maincontent">Skip to main content</a>, <a href="http://photon.bits-goa.ac.in/lms/login/index.php">Login</a>, <a href="http://photon.bits-goa.ac.in/lms"><img alt="Bits Pilani" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=logo"/></a>, <a href="http://photon.bits-goa.ac.in/lms/" title="Home">Home</a>, <a class="skip-block" href="#skipsitenews">Skip site news</a>, <a class="skip-block" href="#sb-1">Skip Main menu</a>, <a href="http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13" title="Forums"><img alt="" class="icon" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=forum&rev=1504933301&image=icon"/> Site news</a>, <a class="skip-block" href="#sb-2">Skip Navigation</a>, <a href="http://photon.bits-goa.ac.in/lms/" title="Home">Home</a>, <a href="http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13" title="Forum"><img alt="Forum" class="smallicon navicon" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=forum&rev=1504933301&image=icon" title="Forum"/>Site news</a>, <a href="http://photon.bits-goa.ac.in/lms/course/index.php" title="Courses">Courses</a>, <a class="skip-block" href="#sb-5">Skip Clock</a>, <a class="skip-block" href="#sb-6">Skip Calendar</a>, <a class="arrow_link previous" href="index.php?cal_m=10&cal_y=2017" title="Previous month"><span class="arrow ">◄</span><span class="accesshide "> <span class="arrow_text">Previous month</span></span></a>, <a href="http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month&cal_d=1&cal_m=11&cal_y=2017&course=1" title="This month">November 2017</a>, <a class="arrow_link next" href="index.php?cal_m=12&cal_y=2017" title="Next month"><span class="accesshide "><span class="arrow_text">Next month</span> </span><span class="arrow ">►</span></a>, <a href="#" id="calendar_tooltip_1">4</a>, <a href="http://photon.bits-goa.ac.in/lms/course/request.php"><span style="color: #ffffff; background-color: #34637f;">Request a Course </span></a>, <a href="http://photon.bits-goa.ac.in/lms/login/index.php">Login</a>]
In [14]:
for link in soup.find_all("tables"):
print(link.string,link['href'])
In [ ]:
for link in soup.find_all("a"):
print(link)
In [ ]:
for link in soup.find_all("a"):
print(link["href"])
In [17]:
import requests
url = 'http://photon.bits-goa.ac.in/lms/login/index.php'
values = {'username': '31120150591',
'password': stri}
logged_in = requests.post(url, data=values).text
print(logged_in)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr" lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The BITS Goa Course Server</title>
<link rel="shortcut icon" href="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=favicon" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="moodle, The BITS Goa Course Server" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" type="text/css" href="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?3.5.1/build/cssreset/reset-min.css&3.5.1/build/cssfonts/fonts-min.css&3.5.1/build/cssgrids/grids-min.css&3.5.1/build/cssbase/base-min.css" /><script type="text/javascript" src="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?3.5.1/build/yui/yui-min.js"></script><script type="text/javascript" src="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?2.9.0/build/yahoo/yahoo-min.js&2.9.0/build/dom/dom-min.js"></script>
<link rel="stylesheet" type="text/css" href="http://photon.bits-goa.ac.in/lms/theme/yui_combo.php?2.9.0/build/assets/skins/sam/skin.css" />
<script id="firstthemesheet" type="text/css">/** Required in order to fix style inclusion problems in IE with YUI **/</script><link rel="stylesheet" type="text/css" href="http://photon.bits-goa.ac.in/lms/theme/styles.php?theme=bits_theme&rev=1504933301&type=all" />
<script type="text/javascript">
//<![CDATA[
var M = {}; M.yui = {}; var moodleConfigFn = function(me) {var p = me.path, b = me.name.replace(/^moodle-/,'').split('-', 3), n = b.pop();if (/(skin|core)/.test(n)) {n = b.pop();me.type = 'css';};me.path = b.join('-')+'/'+n+'/'+n+'.'+me.type;}; var galleryConfigFn = function(me) {var p = me.path,v=M.yui.galleryversion,f;if(/-(skin|core)/.test(me.name)) {me.type = 'css';p = p.replace(/-(skin|core)/, '').replace(/\.js/, '.css').split('/'), f = p.pop().replace(/(\-(min|debug))/, '');if (/-skin/.test(me.name)) {p.splice(p.length,0,v,'assets','skins','sam', f);} else {p.splice(p.length,0,v,'assets', f);};} else {p = p.split('/'), f = p.pop();p.splice(p.length,0,v, f);};me.path = p.join('/');};
M.yui.loader = {"base":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/yui\/3.5.1\/build\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","insertBefore":"firstthemesheet","modules":{"yui2-event":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event\/event-min.js","async":false},"yui2-animation":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/animation\/animation-min.js","async":false},"yui2-swfstore":{"type":"js","requires":["yui2-element","yui2-cookie","yui2-swf"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swfstore\/swfstore-min.js","async":false},"yui2-datatable":{"requires":["yui2-element","yui2-datasource"],"type":"js","optional":["yui2-calendar","yui2-dragdrop","yui2-paginator"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datatable\/datatable-min.js","async":false},"yui2-swfdetect":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swfdetect\/swfdetect-min.js","async":false},"yui2-menu":{"requires":["yui2-containercore"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/menu\/menu-min.js","async":false},"yui2-treeview":{"requires":["yui2-event","yui2-dom"],"type":"js","optional":["yui2-json","yui2-animation","yui2-calendar"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/treeview\/treeview-min.js","async":false},"yui2-get":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/get\/get-min.js","async":false},"yui2-progressbar":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/progressbar\/progressbar-min.js","async":false},"yui2-uploader":{"type":"js","requires":["yui2-element"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/uploader\/uploader-min.js","async":false},"yui2-datasource":{"requires":["yui2-event"],"type":"js","optional":["yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datasource\/datasource-min.js","async":false},"yui2-profiler":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/profiler\/profiler-min.js","async":false},"yui2-connection":{"supersedes":["yui2-connectioncore"],"requires":["yui2-event"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/connection\/connection-min.js","async":false},"yui2-json":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/json\/json-min.js","async":false},"yui2-datemath":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/datemath\/datemath-min.js","async":false},"yui2-calendar":{"supersedes":["yui2-datemath"],"requires":["yui2-event","yui2-dom"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/calendar\/calendar-min.js","async":false},"yui2-simpleeditor":{"requires":["yui2-element"],"type":"js","optional":["yui2-containercore","yui2-menu","yui2-button","yui2-animation","yui2-dragdrop"],"pkg":"editor","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/editor\/simpleeditor-min.js","async":false},"yui2-swf":{"supersedes":["yui2-swfdetect"],"requires":["yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/swf\/swf-min.js","async":false},"yui2-event-simulate":{"type":"js","requires":["yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-simulate\/event-simulate-min.js","async":false},"yui2-yuiloader-dom-event":{"supersedes":["yui2-yahoo","yui2-dom","yui2-event","yui2-get","yui2-yuiloader","yui2-yahoo-dom-event"],"rollup":5,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuiloader-dom-event\/yuiloader-dom-event.js","async":false},"yui2-storage":{"requires":["yui2-yahoo","yui2-event","yui2-cookie"],"type":"js","optional":["yui2-swfstore"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/storage\/storage-min.js","async":false},"yui2-container":{"supersedes":["yui2-containercore"],"requires":["yui2-dom","yui2-event"],"type":"js","optional":["yui2-dragdrop","yui2-animation","yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/container\/container-min.js","async":false},"yui2-profilerviewer":{"requires":["yui2-profiler","yui2-yuiloader","yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/profilerviewer\/profilerviewer-min.js","async":false},"yui2-imagecropper":{"requires":["yui2-dragdrop","yui2-element","yui2-resize"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/imagecropper\/imagecropper-min.js","async":false},"yui2-paginator":{"requires":["yui2-element"],"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/paginator\/paginator-min.js","async":false},"yui2-tabview":{"requires":["yui2-element"],"type":"js","optional":["yui2-connection"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/tabview\/tabview-min.js","async":false},"yui2-layout":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation","yui2-dragdrop","yui2-resize","yui2-selector"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/layout\/layout-min.js","async":false},"yui2-imageloader":{"type":"js","requires":["yui2-event","yui2-dom"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/imageloader\/imageloader-min.js","async":false},"yui2-containercore":{"requires":["yui2-dom","yui2-event"],"type":"js","pkg":"container","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/container\/container_core-min.js","async":false},"yui2-event-mouseenter":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-mouseenter\/event-mouseenter-min.js","async":false},"yui2-logger":{"requires":["yui2-event","yui2-dom"],"type":"js","optional":["yui2-dragdrop"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/logger\/logger-min.js","async":false},"yui2-cookie":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/cookie\/cookie-min.js","async":false},"yui2-stylesheet":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/stylesheet\/stylesheet-min.js","async":false},"yui2-connectioncore":{"requires":["yui2-event"],"type":"js","pkg":"connection","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/connection\/connection_core-min.js","async":false},"yui2-utilities":{"supersedes":["yui2-yahoo","yui2-event","yui2-dragdrop","yui2-animation","yui2-dom","yui2-connection","yui2-element","yui2-yahoo-dom-event","yui2-get","yui2-yuiloader","yui2-yuiloader-dom-event"],"rollup":8,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/utilities\/utilities.js","async":false},"yui2-dragdrop":{"type":"js","requires":["yui2-dom","yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/dragdrop\/dragdrop-min.js","async":false},"yui2-colorpicker":{"requires":["yui2-slider","yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/colorpicker\/colorpicker-min.js","async":false},"yui2-event-delegate":{"requires":["yui2-event"],"type":"js","optional":["yui2-selector"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/event-delegate\/event-delegate-min.js","async":false},"yui2-yuiloader":{"type":"js","supersedes":["yui2-yahoo","yui2-get"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuiloader\/yuiloader-min.js","async":false},"yui2-button":{"requires":["yui2-element"],"type":"js","optional":["yui2-menu"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/button\/button-min.js","async":false},"yui2-resize":{"requires":["yui2-dragdrop","yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/resize\/resize-min.js","async":false},"yui2-element":{"requires":["yui2-dom","yui2-event"],"type":"js","optional":["yui2-event-mouseenter","yui2-event-delegate"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/element\/element-min.js","async":false},"yui2-history":{"type":"js","requires":["yui2-event"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/history\/history-min.js","async":false},"yui2-yahoo":{"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yahoo\/yahoo-min.js","async":false},"yui2-element-delegate":{"type":"js","requires":["yui2-element"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/element-delegate\/element-delegate-min.js","async":false},"yui2-charts":{"type":"js","requires":["yui2-element","yui2-json","yui2-datasource","yui2-swf"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/charts\/charts-min.js","async":false},"yui2-slider":{"requires":["yui2-dragdrop"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/slider\/slider-min.js","async":false},"yui2-selector":{"type":"js","requires":["yui2-yahoo","yui2-dom"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/selector\/selector-min.js","async":false},"yui2-yuitest":{"requires":["yui2-logger"],"type":"js","optional":["yui2-event-simulate"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yuitest\/yuitest-min.js","async":false},"yui2-carousel":{"requires":["yui2-element"],"type":"js","optional":["yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/carousel\/carousel-min.js","async":false},"yui2-autocomplete":{"requires":["yui2-dom","yui2-event","yui2-datasource"],"type":"js","optional":["yui2-connection","yui2-animation"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/autocomplete\/autocomplete-min.js","async":false},"yui2-yahoo-dom-event":{"supersedes":["yui2-yahoo","yui2-event","yui2-dom"],"rollup":3,"type":"js","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/yahoo-dom-event\/yahoo-dom-event.js","async":false},"yui2-dom":{"type":"js","requires":["yui2-yahoo"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/dom\/dom-min.js","async":false},"yui2-editor":{"supersedes":["yui2-simpleeditor"],"requires":["yui2-menu","yui2-element","yui2-button"],"type":"js","optional":["yui2-animation","yui2-dragdrop"],"fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?2.9.0\/build\/editor\/editor-min.js","async":false},"core_filepicker":{"name":"core_filepicker","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Frepository%2Ffilepicker.js","requires":["base","node","node-event-simulate","json","async-queue","io-base","io-upload-iframe","io-form","yui2-treeview","panel","cookie","datatable","datatable-sort","resize-plugin","dd-plugin","moodle-core_filepicker"]},"core_dock":{"name":"core_dock","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Fblocks%2Fdock.js","requires":["base","node","event-custom","event-mouseenter","event-resize"]},"block_simple_clock":{"name":"block_simple_clock","fullpath":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/javascript.php?rev=1504933301&jsfile=%2Fblocks%2Fsimple_clock%2Fmodule.js","requires":[]}},"groups":{"moodle":{"name":"moodle","base":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?moodle\/1504933301\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","ext":false,"root":"moodle\/1504933301\/","patterns":{"moodle-":{"group":"moodle","configFn":moodleConfigFn},"root":"moodle"}},"local":{"name":"gallery","base":"http:\/\/photon.bits-goa.ac.in\/lms\/lib\/yui\/gallery\/","comboBase":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/yui_combo.php?","combine":true,"filter":"","ext":false,"root":"gallery\/","patterns":{"gallery-":{"group":"gallery","configFn":galleryConfigFn},"root":"gallery"}}}};
M.cfg = {"wwwroot":"http:\/\/photon.bits-goa.ac.in\/lms","sesskey":"lIqOwQG5YF","loadingicon":"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Floading_small","themerev":"1504933301","slasharguments":0,"theme":"bits_theme","jsrev":"1504933301"};
//]]>
</script>
<script type="text/javascript" src="http://photon.bits-goa.ac.in/lms/lib/javascript.php?rev=1504933301&jsfile=%2Flib%2Fjavascript-static.js"></script>
<script type="text/javascript" src="http://photon.bits-goa.ac.in/lms/theme/javascript.php?theme=bits_theme&rev=1504933301&type=head"></script>
</head>
<body id="page-site-index" class="course path-site dir-ltr lang-en yui-skin-sam yui3-skin-sam photon-bits-goa-ac-in--lms pagelayout-frontpage course-1 context-2 ">
<div class="skiplinks"><a class="skip" href="#maincontent">Skip to main content</a></div>
<script type="text/javascript">
//<![CDATA[
document.body.className += ' jsenabled';
//]]>
</script>
<div id="wrapper">
<div class="headermenu">
<div class="logininfo">You are logged in as <a href="http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470">MAYANK JHAMTANI .</a> (<a href="http://photon.bits-goa.ac.in/lms/login/logout.php?sesskey=lIqOwQG5YF">Logout</a>)</div></div>
<!-- header -->
<div id="page-header">
<div id="headerlogo"><a href="http://photon.bits-goa.ac.in/lms"><img src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=logo" alt="Bits Pilani" /></a></div>
</div>
<!-- /header -->
<div class="h-bottom-bar"> </div>
<!-- custom menu -->
<!-- /custom menu -->
<!-- navigation bar -->
<div class="navbar clearfix">
<div class="breadcrumb"><span class="accesshide">Page path</span><ul><li><a title="Home" href="http://photon.bits-goa.ac.in/lms/">Home</a></li></ul></div>
<div class="navbutton"></div>
</div>
<!-- /navigation bar -->
<!-- page content -->
<div class="content-wrapper">
<div id="page-content">
<div id="region-main-box">
<div id="region-post-box">
<div id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<span id="maincontent"></span><a href="#skipcategories" class="skip-block">Skip course categories</a><h2 class="headingblock header">Course categories</h2><div class="box generalbox categorybox"><div class="categorylist"><div class="category"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=1">Site</a><span title="Number of courses" class="numberofcourse"> (2)</span></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=72">2017-18</a></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=73">1139</a></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=74">CHEM</a><span title="Number of courses" class="numberofcourse"> (22)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=75">EEE</a><span title="Number of courses" class="numberofcourse"> (21)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=76">ME</a><span title="Number of courses" class="numberofcourse"> (21)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=77">ECON</a><span title="Number of courses" class="numberofcourse"> (22)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=78">PHY</a><span title="Number of courses" class="numberofcourse"> (23)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=79">GS</a><span title="Number of courses" class="numberofcourse"> (7)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=80">HSS</a><span title="Number of courses" class="numberofcourse"> (15)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=81">BITS</a><span title="Number of courses" class="numberofcourse"> (37)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=82">MATH</a><span title="Number of courses" class="numberofcourse"> (20)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=83">INSTR</a><span title="Number of courses" class="numberofcourse"> (15)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=84">MEL</a><span title="Number of courses" class="numberofcourse"> (6)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=85">CHE</a><span title="Number of courses" class="numberofcourse"> (26)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=86">BIO</a><span title="Number of courses" class="numberofcourse"> (28)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=87">CS</a><span title="Number of courses" class="numberofcourse"> (28)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=88">IS</a><span title="Number of courses" class="numberofcourse"> (2)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=89">FIN</a><span title="Number of courses" class="numberofcourse"> (3)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=90">MF</a><span title="Number of courses" class="numberofcourse"> (1)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=91">DE</a><span title="Number of courses" class="numberofcourse"> (1)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=92">Equivalent Courses</a><span title="Number of courses" class="numberofcourse"> (10)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=93">FRE</a><span title="Number of courses" class="numberofcourse"> (1)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=94">MGTS</a><span title="Number of courses" class="numberofcourse"> (1)</span></div></div></div><div class="clearfloat"></div></div><div class="categorylist"><div class="category"><div class="indentation"><div class="indentation"><a href="http://photon.bits-goa.ac.in/lms/course/category.php?id=95">MUSIC</a><span title="Number of courses" class="numberofcourse"> (2)</span></div></div></div><div class="clearfloat"></div></div></div><form id="coursesearch" action="http://photon.bits-goa.ac.in/lms/course/search.php" method="get"><fieldset class="coursesearchbox invisiblefieldset"><label for="shortsearchbox">Search courses: </label><input type="text" id="shortsearchbox" size="12" name="search" alt="Search courses" value="" /><input type="submit" value="Go" /></fieldset></form><span class="skip-block-to" id="skipcategories"></span><br /> </div>
</div>
</div>
<div id="region-pre" class="block-region">
<div class="region-content">
<a href="#sb-1" class="skip-block">Skip Main menu</a><div id="inst1" class="block_site_main_menu block list_block"><div class="header"><div class="title"><div class="block_action"></div><h2>Main menu</h2></div></div><div class="content"><ul class="unlist"><li class="r0"><div class="column c1"><a title="Forums" href="http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13"><img src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=forum&rev=1504933301&image=icon" class="icon" alt="" /> Site news</a></div></li></ul></div></div><span id="sb-1" class="skip-block-to"></span><a href="#sb-2" class="skip-block">Skip Navigation</a><div id="inst4" class="block_navigation block"><div class="header"><div class="title"><div class="block_action"></div><h2>Navigation</h2></div></div><div class="content"><ul class="block_tree list"><li class="type_unknown depth_1 contains_branch current_branch"><p class="tree_item branch active_tree_node navigation_node"><a title="Home" href="http://photon.bits-goa.ac.in/lms/">Home</a></p><ul><li class="type_setting depth_2 item_with_icon"><p class="tree_item leaf hasicon"><a title="My home" href="http://photon.bits-goa.ac.in/lms/my/"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />My home</a></p></li>
<li class="type_course depth_2 collapsed contains_branch"><p class="tree_item branch"><span title="The BITS Goa Course Server" tabindex="0">Site pages</span></p><ul><li class="type_custom depth_3 item_with_icon"><p class="tree_item leaf hasicon"><a title="Tags" href="http://photon.bits-goa.ac.in/lms/tag/search.php"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Tags</a></p></li>
<li class="type_custom depth_3 item_with_icon"><p class="tree_item leaf hasicon"><a title="Calendar" href="http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Calendar</a></p></li>
<li class="type_activity depth_3 item_with_icon"><p class="tree_item leaf hasicon"><a title="Forum" href="http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13"><img alt="Forum" class="smallicon navicon" title="Forum" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=forum&rev=1504933301&image=icon" />Site news</a></p></li></ul></li>
<li class="type_user depth_2 collapsed contains_branch"><p class="tree_item branch"><span tabindex="0">My profile</span></p><ul><li class="type_custom depth_3 item_with_icon"><p class="tree_item leaf hasicon"><a title="View profile" href="http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />View profile</a></p></li>
<li class="type_custom depth_3 collapsed contains_branch"><p class="tree_item branch"><span tabindex="0">Forum posts</span></p><ul><li class="type_custom depth_4 item_with_icon"><p class="tree_item leaf hasicon"><a title="Posts" href="http://photon.bits-goa.ac.in/lms/mod/forum/user.php?id=5470"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Posts</a></p></li>
<li class="type_custom depth_4 item_with_icon"><p class="tree_item leaf hasicon"><a title="Discussions" href="http://photon.bits-goa.ac.in/lms/mod/forum/user.php?id=5470&mode=discussions"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Discussions</a></p></li></ul></li>
<li class="type_setting depth_3 item_with_icon"><p class="tree_item leaf hasicon"><a title="Messages" href="http://photon.bits-goa.ac.in/lms/message/index.php"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Messages</a></p></li></ul></li>
<li class="type_system depth_2 collapsed contains_branch"><p class="tree_item branch canexpand"><span tabindex="0">My courses</span></p><ul><li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_1"><a title="ELECTRONIC DEVICES (EEE F214)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1029">11391021080_EEE F214</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_2"><a title="DIGITAL DESIGN (EEE F215)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1028">11391021079_EEE F215</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_3"><a title="ELECTROMAGNETIC THEO I (EEE F212)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=957">11391021078_EEE F212</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_4"><a title="ELECTRICAL MACHINES (EEE F211)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=956">11391021077_EEE F211</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_5"><a title="NUMERICAL ANALYSIS (MATH F313)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1134">11391021471_MATH F313</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_6"><a title="ORDINARY DIFF EQUATIONS (MATH F312)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1068">11391021470_MATH F312</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_7"><a title="INTRODUCTION TO TOPOLOGY (MATH F311)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=967">11391021469_MATH F311</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_8"><a title="ELECTRICAL MACHINES (EEE F211,INSTR F211)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1249">11391_EEE_INSTR_F211</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_9"><a title="ELECTRONIC DEVICES (EEE F214,INSTR F214)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1248">11391_EEE_INSTR_F214</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_10"><a title="DIGITAL DESIGN (CS F215, INSTR F215, EEE F215)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1243">11391_CS_EEE_INSTR_F215</a></p></li>
<li class="type_course depth_3 collapsed contains_branch"><p class="tree_item branch" id="expandable_branch_11"><a title="ELECTROMAGNETIC THEO I (EEE F212,INSTR F212,PHY F212)" href="http://photon.bits-goa.ac.in/lms/course/view.php?id=1242">11391_EEE_INSTR_PHY_F212</a></p></li></ul></li></ul></li></ul></div></div><span id="sb-2" class="skip-block-to"></span><a href="#sb-3" class="skip-block">Skip Settings</a><div id="inst5" class="block_settings block"><div class="header"><div class="title"><div class="block_action"></div><h2>Settings</h2></div></div><div class="content"><div id="settingsnav" class="box block_tree_box"><ul class="block_tree list"><li class="type_unknown collapsed contains_branch"><p class="tree_item branch root_node" id="usersettings"><span tabindex="0">My profile settings</span></p><ul><li class="type_setting collapsed item_with_icon"><p class="tree_item leaf"><a title="Edit profile" href="http://photon.bits-goa.ac.in/lms/user/edit.php?id=5470&course=1"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Edit profile</a></p></li>
<li class="type_setting collapsed item_with_icon"><p class="tree_item leaf"><a title="Change password" href="http://photon.bits-goa.ac.in/lms/login/change_password.php?id=1"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Change password</a></p></li>
<li class="type_setting collapsed item_with_icon"><p class="tree_item leaf"><a title="Messaging" href="http://photon.bits-goa.ac.in/lms/message/edit.php?id=5470&course=1"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Messaging</a></p></li>
<li class="type_unknown collapsed contains_branch"><p class="tree_item branch"><span tabindex="0">Blogs</span></p><ul><li class="type_setting collapsed item_with_icon"><p class="tree_item leaf"><a title="Preferences" href="http://photon.bits-goa.ac.in/lms/blog/preferences.php"><img alt="" class="smallicon navicon" title="" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=core&rev=1504933301&image=i%2Fnavigationitem" />Preferences</a></p></li></ul></li></ul></li></ul></div></div></div><span id="sb-3" class="skip-block-to"></span> </div>
</div>
<div id="region-post" class="block-region">
<div class="region-content">
<div id="inst2" class="block_course_summary block"><div class="content"><div class="block_action notitle"></div><div class="no-overflow"><div class="text_to_html"><p><span style="font-family: verdana,arial,helvetica,sans-serif; font-size: small;" size="3">Welcome to <span style="color: #990000; font-weight: bold;">BITS GOA</span>, the Learning Management System at BITS Pilani K K Birla Goa Campus. </span></p></div></div></div></div><a href="#sb-5" class="skip-block">Skip Clock</a><div id="inst10" class="block_simple_clock block"><div class="header"><div class="title"><div class="block_action"></div><h2>Clock</h2></div></div><div class="content"><table class="clockTable">
<tbody><tr class="r0 lastrow">
<td class="cell c0" style=""><img alt="Server" class="smallicon" title="Server" src="http://photon.bits-goa.ac.in/lms/theme/image.php?theme=bits_theme&component=theme&rev=1504933301&image=favicon" /></td>
<td class="cell c1" style="">Server:</td>
<td class="cell c2 lastcol" style=""><input class="clock" id="block_progress_serverTime" value="Loading..." /></td>
</tr>
</tbody>
</table>
<noscript>To allow the clocks to update, enable JavaScript in your browser.</noscript></div></div><span id="sb-5" class="skip-block-to"></span><a href="#sb-6" class="skip-block">Skip Calendar</a><div id="inst3" class="block_calendar_month block"><div class="header"><div class="title"><div class="block_action"></div><h2>Calendar</h2></div></div><div class="content"><div class="calendar-controls"><a class="arrow_link previous" href="index.php?cal_m=10&cal_y=2017" title="Previous month"><span class="arrow ">◄</span><span class="accesshide " > <span class="arrow_text">Previous month</span></span></a><span class="hide"> | </span><span class="current"><a title="This month" href="http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month&cal_d=1&cal_m=11&cal_y=2017&course=1">November 2017</a></span><span class="hide"> | </span><a class="arrow_link next" href="index.php?cal_m=12&cal_y=2017" title="Next month"><span class="accesshide " ><span class="arrow_text">Next month</span> </span><span class="arrow ">►</span></a><span class="clearer"><!-- --></span>
</div><table class="minicalendar calendartable" summary="November 2017 Calendar"><tr class="weekdays"><th scope="col"><abbr title="Sunday">Sun</abbr></th>
<th scope="col"><abbr title="Monday">Mon</abbr></th>
<th scope="col"><abbr title="Tuesday">Tue</abbr></th>
<th scope="col"><abbr title="Wednesday">Wed</abbr></th>
<th scope="col"><abbr title="Thursday">Thu</abbr></th>
<th scope="col"><abbr title="Friday">Fri</abbr></th>
<th scope="col"><abbr title="Saturday">Sat</abbr></th>
</tr><tr><td class="dayblank"> </td>
<td class="dayblank"> </td>
<td class="dayblank"> </td>
<td class="day">1</td>
<td class="day hasevent calendar_event_course calendar_event_course"><a href="http://photon.bits-goa.ac.in/lms/calendar/view.php?view=day&cal_d=2&cal_m=11&cal_y=2017#event_1225" id="calendar_tooltip_1">2</a></td>
<td class="day">3</td>
<td class="weekend day today eventnone"><span class="accesshide " >Today Saturday, 4 November </span><a href="#" id="calendar_tooltip_2">4</a></td>
</tr><tr><td class="weekend day">5</td>
<td class="day">6</td>
<td class="day">7</td>
<td class="day">8</td>
<td class="day">9</td>
<td class="day">10</td>
<td class="weekend day">11</td>
</tr><tr><td class="weekend day">12</td>
<td class="day">13</td>
<td class="day">14</td>
<td class="day">15</td>
<td class="day">16</td>
<td class="day">17</td>
<td class="weekend day">18</td>
</tr><tr><td class="weekend day">19</td>
<td class="day">20</td>
<td class="day">21</td>
<td class="day">22</td>
<td class="day">23</td>
<td class="day">24</td>
<td class="weekend day">25</td>
</tr><tr><td class="weekend day">26</td>
<td class="day">27</td>
<td class="day">28</td>
<td class="day">29</td>
<td class="day">30</td>
<td class="dayblank"> </td><td class="dayblank"> </td></tr></table></div></div><span id="sb-6" class="skip-block-to"></span><div id="inst2357" class="block_html block"><div class="content"><div class="block_action notitle"></div><div class="no-overflow"><h2 class="main"><span style="color: #ffffff; font-family: Trebuchet MS,Verdana,Arial,Helvetica,sans-serif; font-size: small; background-color: #34637f;"><a href="http://photon.bits-goa.ac.in/lms/course/request.php"><span style="color: #ffffff; background-color: #34637f;">Request a Course </span></a></span></h2>
<p>If you are the IC of two or more named courses that are taught as one course, please request for a merged course by clicking on the above link and providing the necessary information.</p></div></div></div> </div>
</div>
</div></div></div><!-- /region-post-box --><!-- /region-main-box --><!-- /page content -->
<!-- /wrapper -->
<!-- footer -->
<div id="page-footer" class="footer-container">
<div class="f-login-info">
<div class="logininfo">You are logged in as <a href="http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470">MAYANK JHAMTANI .</a> (<a href="http://photon.bits-goa.ac.in/lms/login/logout.php?sesskey=lIqOwQG5YF">Logout</a>)</div> </div>
</div>
<!--/footer-->
<div class="clearfix"></div>
</div><!--content wrapper-->
<div class="clearfix"></div>
</div>
<script type="text/javascript" src="http://photon.bits-goa.ac.in/lms/theme/javascript.php?theme=bits_theme&rev=1504933301&type=footer"></script>
<script type="text/javascript">
//<![CDATA[
M.str = {"moodle":{"lastmodified":"Last modified","name":"Name","error":"Error","info":"Information","viewallcourses":"View all courses","cancel":"Cancel","yes":"Yes"},"repository":{"type":"Type","size":"Size","invalidjson":"Invalid JSON string","nofilesattached":"No files attached","filepicker":"File picker","logout":"Logout","nofilesavailable":"No files available","norepositoriesavailable":"Sorry, none of your current repositories can return files in the required format.","fileexistsdialogheader":"File exists","fileexistsdialog_editor":"A file with that name has already been attached to the text you are editing.","fileexistsdialog_filemanager":"A file with that name has already been attached","renameto":"Rename to \"{$a}\"","referencesexist":"There are {$a} alias\/shortcut files that use this file as their source"},"block":{"addtodock":"Move this to the dock","undockitem":"Undock this item","undockall":"Undock all"},"langconfig":{"thisdirectionvertical":"btt"},"block_simple_clock":{"clock_separator":":","before_noon":"am","after_noon":"pm","day_names":"Sun,Mon,Tue,Wed,Thu,Fri,Sat"},"admin":{"confirmation":"Confirmation"}};
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var navtreeexpansions4 = [{"id":"expandable_branch_1","key":"1029","type":20},{"id":"expandable_branch_2","key":"1028","type":20},{"id":"expandable_branch_3","key":"957","type":20},{"id":"expandable_branch_4","key":"956","type":20},{"id":"expandable_branch_5","key":"1134","type":20},{"id":"expandable_branch_6","key":"1068","type":20},{"id":"expandable_branch_7","key":"967","type":20},{"id":"expandable_branch_8","key":"1249","type":20},{"id":"expandable_branch_9","key":"1248","type":20},{"id":"expandable_branch_10","key":"1243","type":20},{"id":"expandable_branch_11","key":"1242","type":20}];
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
YUI(M.yui.loader).use('node', function(Y) {
M.util.load_flowplayer();
setTimeout("fix_column_widths()", 20);
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "1"); });
M.yui.galleryversion="2010.04.08-12-35";Y.use("core_dock","moodle-block_navigation-navigation",function() {M.block_navigation.init_add_tree({"id":"4","instance":"4","candock":true,"courselimit":"20","expansionlimit":0});
});
M.yui.galleryversion="2010.04.08-12-35";Y.use("core_dock","moodle-block_navigation-navigation",function() {M.block_navigation.init_add_tree({"id":"5","instance":"5","candock":true});
});
Y.use('block_simple_clock', function(Y) { M.block_simple_clock.initSimpleClock(Y, true, false, true, true, false, 2017, 10, 4, 18, 56, 40); });
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "10"); });
M.yui.galleryversion="2010.04.08-12-35";Y.use("moodle-calendar-eventmanager",function() {M.core_calendar.add_event({"eventId":"calendar_tooltip_1","title":"Thursday, 2 November events","content":"<div><img alt=\"quiz\" class=\"smallicon\" title=\"quiz\" src=\"http:\/\/photon.bits-goa.ac.in\/lms\/theme\/image.php?theme=bits_theme&component=quiz&rev=1504933301&image=icon\" \/><a href=\"http:\/\/photon.bits-goa.ac.in\/lms\/calendar\/view.php?view=day&cal_d=2&cal_m=11&cal_y=2017#event_1225\">Assignment 3<\/a><\/div>"});
});
M.yui.galleryversion="2010.04.08-12-35";Y.use("moodle-calendar-eventmanager",function() {M.core_calendar.add_event({"eventId":"calendar_tooltip_2","title":"Today Saturday, 4 November","content":"No events"});
});
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "3"); });
Y.use('core_dock', function(Y) { M.core_dock.init_genericblock(Y, "2487"); });
M.util.init_block_hider(Y, {"id":"inst1","title":"Main menu","preference":"block1hidden","tooltipVisible":"Hide Main menu block","tooltipHidden":"Show Main menu block"});
M.util.init_block_hider(Y, {"id":"inst4","title":"Navigation","preference":"block4hidden","tooltipVisible":"Hide Navigation block","tooltipHidden":"Show Navigation block"});
M.util.init_block_hider(Y, {"id":"inst5","title":"Settings","preference":"block5hidden","tooltipVisible":"Hide Settings block","tooltipHidden":"Show Settings block"});
M.util.init_block_hider(Y, {"id":"inst10","title":"Clock","preference":"block10hidden","tooltipVisible":"Hide Clock block","tooltipHidden":"Show Clock block"});
M.util.init_block_hider(Y, {"id":"inst3","title":"Calendar","preference":"block3hidden","tooltipVisible":"Hide Calendar block","tooltipHidden":"Show Calendar block"});
});
//]]>
</script>
</body>
</html>
In [19]:
soup = BeautifulSoup(logged_in,'lxml')
print (type(soup))
<class 'bs4.BeautifulSoup'>
In [20]:
for link in soup.find_all("a"):
print(link["href"])
#maincontent
http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470
http://photon.bits-goa.ac.in/lms/login/logout.php?sesskey=lIqOwQG5YF
http://photon.bits-goa.ac.in/lms
http://photon.bits-goa.ac.in/lms/
#skipcategories
http://photon.bits-goa.ac.in/lms/course/category.php?id=1
http://photon.bits-goa.ac.in/lms/course/category.php?id=72
http://photon.bits-goa.ac.in/lms/course/category.php?id=73
http://photon.bits-goa.ac.in/lms/course/category.php?id=74
http://photon.bits-goa.ac.in/lms/course/category.php?id=75
http://photon.bits-goa.ac.in/lms/course/category.php?id=76
http://photon.bits-goa.ac.in/lms/course/category.php?id=77
http://photon.bits-goa.ac.in/lms/course/category.php?id=78
http://photon.bits-goa.ac.in/lms/course/category.php?id=79
http://photon.bits-goa.ac.in/lms/course/category.php?id=80
http://photon.bits-goa.ac.in/lms/course/category.php?id=81
http://photon.bits-goa.ac.in/lms/course/category.php?id=82
http://photon.bits-goa.ac.in/lms/course/category.php?id=83
http://photon.bits-goa.ac.in/lms/course/category.php?id=84
http://photon.bits-goa.ac.in/lms/course/category.php?id=85
http://photon.bits-goa.ac.in/lms/course/category.php?id=86
http://photon.bits-goa.ac.in/lms/course/category.php?id=87
http://photon.bits-goa.ac.in/lms/course/category.php?id=88
http://photon.bits-goa.ac.in/lms/course/category.php?id=89
http://photon.bits-goa.ac.in/lms/course/category.php?id=90
http://photon.bits-goa.ac.in/lms/course/category.php?id=91
http://photon.bits-goa.ac.in/lms/course/category.php?id=92
http://photon.bits-goa.ac.in/lms/course/category.php?id=93
http://photon.bits-goa.ac.in/lms/course/category.php?id=94
http://photon.bits-goa.ac.in/lms/course/category.php?id=95
#sb-1
http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13
#sb-2
http://photon.bits-goa.ac.in/lms/
http://photon.bits-goa.ac.in/lms/my/
http://photon.bits-goa.ac.in/lms/tag/search.php
http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month
http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13
http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470
http://photon.bits-goa.ac.in/lms/mod/forum/user.php?id=5470
http://photon.bits-goa.ac.in/lms/mod/forum/user.php?id=5470&mode=discussions
http://photon.bits-goa.ac.in/lms/message/index.php
http://photon.bits-goa.ac.in/lms/course/view.php?id=1029
http://photon.bits-goa.ac.in/lms/course/view.php?id=1028
http://photon.bits-goa.ac.in/lms/course/view.php?id=957
http://photon.bits-goa.ac.in/lms/course/view.php?id=956
http://photon.bits-goa.ac.in/lms/course/view.php?id=1134
http://photon.bits-goa.ac.in/lms/course/view.php?id=1068
http://photon.bits-goa.ac.in/lms/course/view.php?id=967
http://photon.bits-goa.ac.in/lms/course/view.php?id=1249
http://photon.bits-goa.ac.in/lms/course/view.php?id=1248
http://photon.bits-goa.ac.in/lms/course/view.php?id=1243
http://photon.bits-goa.ac.in/lms/course/view.php?id=1242
#sb-3
http://photon.bits-goa.ac.in/lms/user/edit.php?id=5470&course=1
http://photon.bits-goa.ac.in/lms/login/change_password.php?id=1
http://photon.bits-goa.ac.in/lms/message/edit.php?id=5470&course=1
http://photon.bits-goa.ac.in/lms/blog/preferences.php
#sb-5
#sb-6
index.php?cal_m=10&cal_y=2017
http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month&cal_d=1&cal_m=11&cal_y=2017&course=1
index.php?cal_m=12&cal_y=2017
http://photon.bits-goa.ac.in/lms/calendar/view.php?view=day&cal_d=2&cal_m=11&cal_y=2017#event_1225
#
http://photon.bits-goa.ac.in/lms/course/request.php
http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470
http://photon.bits-goa.ac.in/lms/login/logout.php?sesskey=lIqOwQG5YF
In [21]:
for link in soup.find_all("a"):
print(link["href"],link.string)
#maincontent Skip to main content
http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470 MAYANK JHAMTANI .
http://photon.bits-goa.ac.in/lms/login/logout.php?sesskey=lIqOwQG5YF Logout
http://photon.bits-goa.ac.in/lms None
http://photon.bits-goa.ac.in/lms/ Home
#skipcategories Skip course categories
http://photon.bits-goa.ac.in/lms/course/category.php?id=1 Site
http://photon.bits-goa.ac.in/lms/course/category.php?id=72 2017-18
http://photon.bits-goa.ac.in/lms/course/category.php?id=73 1139
http://photon.bits-goa.ac.in/lms/course/category.php?id=74 CHEM
http://photon.bits-goa.ac.in/lms/course/category.php?id=75 EEE
http://photon.bits-goa.ac.in/lms/course/category.php?id=76 ME
http://photon.bits-goa.ac.in/lms/course/category.php?id=77 ECON
http://photon.bits-goa.ac.in/lms/course/category.php?id=78 PHY
http://photon.bits-goa.ac.in/lms/course/category.php?id=79 GS
http://photon.bits-goa.ac.in/lms/course/category.php?id=80 HSS
http://photon.bits-goa.ac.in/lms/course/category.php?id=81 BITS
http://photon.bits-goa.ac.in/lms/course/category.php?id=82 MATH
http://photon.bits-goa.ac.in/lms/course/category.php?id=83 INSTR
http://photon.bits-goa.ac.in/lms/course/category.php?id=84 MEL
http://photon.bits-goa.ac.in/lms/course/category.php?id=85 CHE
http://photon.bits-goa.ac.in/lms/course/category.php?id=86 BIO
http://photon.bits-goa.ac.in/lms/course/category.php?id=87 CS
http://photon.bits-goa.ac.in/lms/course/category.php?id=88 IS
http://photon.bits-goa.ac.in/lms/course/category.php?id=89 FIN
http://photon.bits-goa.ac.in/lms/course/category.php?id=90 MF
http://photon.bits-goa.ac.in/lms/course/category.php?id=91 DE
http://photon.bits-goa.ac.in/lms/course/category.php?id=92 Equivalent Courses
http://photon.bits-goa.ac.in/lms/course/category.php?id=93 FRE
http://photon.bits-goa.ac.in/lms/course/category.php?id=94 MGTS
http://photon.bits-goa.ac.in/lms/course/category.php?id=95 MUSIC
#sb-1 Skip Main menu
http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13 None
#sb-2 Skip Navigation
http://photon.bits-goa.ac.in/lms/ Home
http://photon.bits-goa.ac.in/lms/my/ None
http://photon.bits-goa.ac.in/lms/tag/search.php None
http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month None
http://photon.bits-goa.ac.in/lms/mod/forum/view.php?id=13 None
http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470 None
http://photon.bits-goa.ac.in/lms/mod/forum/user.php?id=5470 None
http://photon.bits-goa.ac.in/lms/mod/forum/user.php?id=5470&mode=discussions None
http://photon.bits-goa.ac.in/lms/message/index.php None
http://photon.bits-goa.ac.in/lms/course/view.php?id=1029 11391021080_EEE F214
http://photon.bits-goa.ac.in/lms/course/view.php?id=1028 11391021079_EEE F215
http://photon.bits-goa.ac.in/lms/course/view.php?id=957 11391021078_EEE F212
http://photon.bits-goa.ac.in/lms/course/view.php?id=956 11391021077_EEE F211
http://photon.bits-goa.ac.in/lms/course/view.php?id=1134 11391021471_MATH F313
http://photon.bits-goa.ac.in/lms/course/view.php?id=1068 11391021470_MATH F312
http://photon.bits-goa.ac.in/lms/course/view.php?id=967 11391021469_MATH F311
http://photon.bits-goa.ac.in/lms/course/view.php?id=1249 11391_EEE_INSTR_F211
http://photon.bits-goa.ac.in/lms/course/view.php?id=1248 11391_EEE_INSTR_F214
http://photon.bits-goa.ac.in/lms/course/view.php?id=1243 11391_CS_EEE_INSTR_F215
http://photon.bits-goa.ac.in/lms/course/view.php?id=1242 11391_EEE_INSTR_PHY_F212
#sb-3 Skip Settings
http://photon.bits-goa.ac.in/lms/user/edit.php?id=5470&course=1 None
http://photon.bits-goa.ac.in/lms/login/change_password.php?id=1 None
http://photon.bits-goa.ac.in/lms/message/edit.php?id=5470&course=1 None
http://photon.bits-goa.ac.in/lms/blog/preferences.php None
#sb-5 Skip Clock
#sb-6 Skip Calendar
index.php?cal_m=10&cal_y=2017 None
http://photon.bits-goa.ac.in/lms/calendar/view.php?view=month&cal_d=1&cal_m=11&cal_y=2017&course=1 November 2017
index.php?cal_m=12&cal_y=2017 None
http://photon.bits-goa.ac.in/lms/calendar/view.php?view=day&cal_d=2&cal_m=11&cal_y=2017#event_1225 2
# 4
http://photon.bits-goa.ac.in/lms/course/request.php Request a Course
http://photon.bits-goa.ac.in/lms/user/profile.php?id=5470 MAYANK JHAMTANI .
http://photon.bits-goa.ac.in/lms/login/logout.php?sesskey=lIqOwQG5YF Logout
In [ ]:
F211=requests.get('http://photon.bits-goa.ac.in/lms/course/view.php?id=1242').text
F211_soup=BeautifulSoup(F211,'lxml')
In [ ]:
print(F211_soup.prettify())
In [ ]:
for link in F211_soup.find_all("a"):
print(link["href"],link.string)
In [ ]:
Content source: bpgc-cte/python2017
Similar notebooks: